/**
 * Copyright (c) 2019 EOVA.CN. All rights reserved.
 * 
 * Licensed under the EPPL license: http://eova.cn/eppl.txt
 * For authorization, please contact: admin@eova.cn
 */
package com.oss.job;

import com.eova.common.utils.time.DateUtil;
import com.oss.jsoup.FEmsTT;
import org.quartz.JobExecutionContext;

/**
 * 每分钟执行
 *
 * @author Jieven
 * @date 2014-7-7
 */
public class EveryMinJob extends AbsJob {

	@Override
	protected void process(JobExecutionContext context) {
		System.out.println("每分钟任务");
		// context.getJobDetail().getJobDataMap().get("xx参数");

		String cookie = "JSESSIONID=69B63718519D87E2B0BFA33D0EBA00D7; COOKIE_MEMBER_LOGIN_NAME=%7B%22password%22%3A%22%22%2C%22memoryPassword%22%3A%220%22%2C%22userId%22%3A%22shanghaiYZ%22%7D";
		String crtDate = DateUtil.getCurrDateStr();
		String begDate = DateUtil.getNextDate(crtDate, -2);

		FEmsTT.getYxmUser(cookie,begDate,crtDate,"POST");
		FEmsTT.getYxmOrder(cookie,begDate,crtDate,"POST");




	}
}